/**
 * output package name
 */
package com.kingdee.eas.custom.hostelmgr.basedata;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.IntEnum;

/**
 * output class name
 */
public class ScheduleEnum extends IntEnum
{
    public static final int ALL_DAY_VALUE = 1;
    public static final int TWO_VALUE = 2;
    public static final int THREE_VALUE = 3;
    public static final int FOUR_VALUE = 4;
    public static final int OTHER_VALUE = 5;

    public static final ScheduleEnum ALL_DAY = new ScheduleEnum("ALL_DAY", ALL_DAY_VALUE);
    public static final ScheduleEnum TWO = new ScheduleEnum("TWO", TWO_VALUE);
    public static final ScheduleEnum THREE = new ScheduleEnum("THREE", THREE_VALUE);
    public static final ScheduleEnum FOUR = new ScheduleEnum("FOUR", FOUR_VALUE);
    public static final ScheduleEnum OTHER = new ScheduleEnum("OTHER", OTHER_VALUE);

    /**
     * construct function
     * @param integer scheduleEnum
     */
    private ScheduleEnum(String name, int scheduleEnum)
    {
        super(name, scheduleEnum);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static ScheduleEnum getEnum(String scheduleEnum)
    {
        return (ScheduleEnum)getEnum(ScheduleEnum.class, scheduleEnum);
    }

    /**
     * getEnum function
     * @param String arguments
     */
    public static ScheduleEnum getEnum(int scheduleEnum)
    {
        return (ScheduleEnum)getEnum(ScheduleEnum.class, scheduleEnum);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(ScheduleEnum.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(ScheduleEnum.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(ScheduleEnum.class);
    }
}